import api from './index'
// axios
import request from '@/utils/request'
import qs from "qs";
import { encryptAes, decryptAes, encryptBase64, decryptBase64 } from '@/utils/encryptUtil'

// 审核
export function doSh(user_id,sh_id,sh_xm,chlx,tdbh,shzt,shyy) {
  let data = {
    id:user_id,
    zae011:sh_id,
    zae019:sh_xm,
    shzt:shzt,
    shyy:shyy,
    chlx:chlx,
    tdbh:tdbh
  }
  let encryptStr = encryptAes(JSON.stringify(data))
  //模拟后端返回登录数据
  return request({
    url: api.shDoctorUser,
    method: 'post',
    data: qs.stringify({ "paramText": encryptStr })
  })
}
